#pragma warning(disable : 4996)
#include"date.h"
void Change(int& year, int& month, int& day, char* arr)
{
    for (int i = 0; i <=3; i++)
    {
        year += (arr[i] - 48) * (int)pow(10, 3 - i);
    }
    for (int i = 4; i <=5 ; i++)
    {
        month += (arr[i] - 48 )* (int)pow(10,5-i);
    }
    for (int i = 6; i <= 7; i++)
    {
        day += (arr[i] - 48) * (int)pow(10, 7 - i);
    }

}
int main() {
    Date a1(2091, 1, 28);
    a1 += 153;
    a1.print();



}
